package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductGlossaryAttrDAO extends IDataAccessInterface<ProductGlossaryAttr, ProductGlossaryAttrDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_GLOSSARY_ATTR";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_GLOSSARY_ATTR.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_GLOSSARY_ATTR.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field PRODUCT_GLOSSARY_ID
    */
    static final String ProductGlossaryId = "PRODUCT_GLOSSARY_ATTR.PRODUCT_GLOSSARY_ID";

    /**
     * Mapped Field ATTR_NAME
    */
    static final String AttrName = "PRODUCT_GLOSSARY_ATTR.ATTR_NAME";

    /**
     * Mapped Field ATTR_TYPE
    */
    static final String AttrType = "PRODUCT_GLOSSARY_ATTR.ATTR_TYPE";

    /**
     * Mapped Field DATA_RULE
    */
    static final String DataRule = "PRODUCT_GLOSSARY_ATTR.DATA_RULE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_GLOSSARY_ATTR.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_GLOSSARY_ATTR.REMARKS";

    /**
     * Mapped Field IS_REQUIRE
    */
    static final String IsRequire = "PRODUCT_GLOSSARY_ATTR.IS_REQUIRE";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductGlossaryAttr findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute productGlossaryId
         */
        static final String ProductGlossaryId = "productGlossaryId";

        /**
         * Attribute attrName
         */
        static final String AttrName = "attrName";

        /**
         * Attribute attrType
         */
        static final String AttrType = "attrType";

        /**
         * Attribute dataRule
         */
        static final String DataRule = "dataRule";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute isRequire
         */
        static final String IsRequire = "isRequire";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
